package com.vone.export.until;

import org.apache.poi.ss.usermodel.IndexedColors;

public class ExcelHeader {
	private String name;
	private String field;
	private int width = 3000;
	private String fontName = "宋体";
	private short fontSize = 10;
	private short headerFontSize = 12;
	private boolean isHeaderBold = true;
	private boolean isAlignmentCenter = true;
	private boolean isBorder = true;
	private IndexedColors headerColor;
	private IndexedColors textColor;

	public ExcelHeader(String name, String field) {
		this.name = name;
		this.field = field;
	}

	public ExcelHeader(String name, String field, int width) {
		this.name = name;
		this.field = field;
		this.width = width;
	}

	public ExcelHeader(String name, String field, int width, IndexedColors headerColor) {
		this.name = name;
		this.field = field;
		this.width = width;
		this.headerColor = headerColor;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public String getFontName() {
		return fontName;
	}

	public void setFontName(String fontName) {
		this.fontName = fontName;
	}

	public short getFontSize() {
		return fontSize;
	}

	public void setFontSize(short fontSize) {
		this.fontSize = fontSize;
	}

	public boolean isHeaderBold() {
		return isHeaderBold;
	}

	public void setHeaderBold(boolean isHeaderBold) {
		this.isHeaderBold = isHeaderBold;
	}

	public boolean isAlignmentCenter() {
		return isAlignmentCenter;
	}

	public void setAlignmentCenter(boolean isAlignmentCenter) {
		this.isAlignmentCenter = isAlignmentCenter;
	}

	public boolean isBorder() {
		return isBorder;
	}

	public void setBorder(boolean isBorder) {
		this.isBorder = isBorder;
	}

	public IndexedColors getHeaderColor() {
		return headerColor;
	}

	public void setHeaderColor(IndexedColors headerColor) {
		this.headerColor = headerColor;
	}

	public IndexedColors getTextColor() {
		return textColor;
	}

	public void setTextColor(IndexedColors textColor) {
		this.textColor = textColor;
	}

	public short getHeaderFontSize() {
		return headerFontSize;
	}

	public void setHeaderFontSize(short headerFontSize) {
		this.headerFontSize = headerFontSize;
	}

}
